using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Text;
namespace Maticsoft.Web.Register.hospitalInfo
{
    public partial class Show : Page
    {        
        		public string strid=""; 
		protected void Page_Load(object sender, EventArgs e)
		{
			if (!Page.IsPostBack)
			{
				if (Request.Params["id"] != null && Request.Params["id"].Trim() != "")
				{
					strid = Request.Params["id"];
					string Hospital_ID= strid;
					ShowInfo(Hospital_ID);
				}
			}
		}
		
	private void ShowInfo(string Hospital_ID)
	{
		Maticsoft.BLL.Register.hospitalInfo bll=new Maticsoft.BLL.Register.hospitalInfo();
		Maticsoft.Model.Register.hospitalInfo model=bll.GetModel(Hospital_ID);
		this.lblHospital_ID.Text=model.Hospital_ID;
		this.lblCity_ID.Text=model.City_ID;
		this.lblHospitalInstall_ID.Text=model.HospitalInstall_ID;
		this.lblHospital_No.Text=model.Hospital_No;
		this.lblHospital_Name.Text=model.Hospital_Name;
		this.lblHospital_Level.Text=model.Hospital_Level;
		this.lblHospital_Nature.Text=model.Hospital_Nature;
		this.lblHospital_Type.Text=model.Hospital_Type;
		this.lblHospital_Address.Text=model.Hospital_Address;
		this.lblHospital_Phone.Text=model.Hospital_Phone;
		this.lblHospital_Website.Text=model.Hospital_Website;
		this.lblHospital_Introduce.Text=model.Hospital_Introduce;
		this.lblHospital_Logo.Text=model.Hospital_Logo;
		this.lblHospital_AddTime.Text=model.Hospital_AddTime.ToString();
		this.lblHospital_Recoder.Text=model.Hospital_Recoder;
		this.lblHospital_LastAmendTime.Text=model.Hospital_LastAmendTime.ToString();
		this.lblHospital_LastAmendPerson.Text=model.Hospital_LastAmendPerson;
		this.lblHospital_State.Text=model.Hospital_State;

	}


    }
}
